package ooday05;
/** 点 */
public class Point {
    private int x;//成员变量私有
    private int y;
    public int getX(){//getter//取数据
        return x;
    }
    public void setX(int x){//setter//修改数据/设置
        this.x = x;
    }
    public int getY(){
        return y;
    }
    public void setY(int y){
        this.y = y;
    }
}
